package net.melon.sysres.pojo;

import net.esj.basic.pojo.AbstractPojo;

public class SysScheduler extends AbstractPojo<String> {

	public static final String TRIGGER_TYPE_CRON ="CRON";
	public static final String TRIGGER_TYPE_DELAY = "DELAY";
	public static final String TRIGGER_TYPE_RATE = "RATE";
	
	private String id;
	private String descriptions;
	private String method;
	private String arguments;
	private String expression;
	private boolean isStart;
	private boolean autoStart;
	private String triggerType;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getDescriptions() {
		return descriptions;
	}
	public void setDescriptions(String descriptions) {
		this.descriptions = descriptions;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getArguments() {
		return arguments;
	}
	public void setArguments(String arguments) {
		this.arguments = arguments;
	}
	public void setExpression(String expression) {
		this.expression = expression;
	}
	public String getExpression() {
		return expression;
	}
	public boolean getIsStart() {
		return isStart;
	}
	public void setIsStart(boolean isStart) {
		this.isStart = isStart;
	}
	public boolean isAutoStart() {
		return autoStart;
	}
	public void setAutoStart(boolean autoStart) {
		this.autoStart = autoStart;
	}
	public String getTriggerType() {
		return triggerType;
	}
	public void setTriggerType(String triggerType) {
		this.triggerType = triggerType;
	}
	
	
}
